The series to update.
The X-value.
The new Y0-value.
The new Y1-value.
Update<TX,TY>(IXyyDataSeries<TX,TY>,TX,TY,TY) Method
Updates (overwrites) the Y0, Y1 values at the specified X-value. Automatically triggers a redraw.
Syntax
[Extension()]
public static void Update<TX,TY>( 
   IXyyDataSeries<TX,TY> dataSeries,
   TX x,
   TY y0,
   TY y1
)
where TX: IComparable
where TY: IComparable

Parameters

dataSeries
The series to update.
x
The X-value.
y0
The new Y0-value.
y1
The new Y1-value.

Type Parameters

TX
TY
Exceptions
ExceptionDescription
Thrown if the x value is not in the DataSeries.
Remarks
If the exact match of x is not found in the dataSeries, the update is ignored.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also